﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FlowNext.aspx.cs" Inherits="YZT.Common.FlowNext" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript" language=javascript src="../Scripts/JQuery/jquery-1.8.3.js"></script>
</head>
<body>
    <form runat="server" onsubmit="return funValid()">
    <div style="height: 199px">
        <asp:TreeView  ID="TreeView1" runat="server" BackColor="#CCCCCC" ShowCheckBoxes="Leaf"
            ShowLines="True" Width="100%">
        </asp:TreeView>
        
        <asp:Button runat="server" Text="确定" ID="buttonok" OnClick="buttonok_Click" OnClientClick="retrun funValid()" />
        <asp:Button UseSubmitBehavior="false" runat="server" Text="返回" ID="buttoncancel" OnClientClick="goback()"
            OnClick="buttoncancel_Click" />
    </div>
    </form>
    <script type="text/javascript">
        function funValid() {
            if ($("input [checked='checked']").length == 0) {
//                alert("必须选中一个转出人员！");
                //                return false;
                return true;
            }
            else {
                return true;
            }
        }
        function goback() {
            history.go(-1);
        }
    </script>
</body>
</html>
